package com.example.hand.springboot_demo.infra.mapper;


import domain.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserMapper {
    public Integer addUser(User user);
    public Integer deleteUser(@Param("id") Long id);
    public Integer updateUser(User user);
    public List<User> selectUser();
}
